FROM java:8
VOLUME /tmp
ADD ./target/hp-system-1.0.2-SNAPSHOT.jar app.jar
RUN bash -c 'touch /app.jar'
ENV LANG C.UTF-8
EXPOSE 8001
ENTRYPOINT [ "java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/app.jar" ]

